-- GENERATED SPELL FOR [Zaxxis Stalker] --


function spell0_19642(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(7159,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19642', 608, 1)
end

function Sorts_19642(pUnit, Event)
local choix_sorts_19642 = math.random(0, 0)
if choix_sorts_19642 == 0 then
pUnit:RegisterEvent('spell0_19642', 1, 1)
end
end

function mob19642_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19642', math.random(1500, 3000), 1)
end

function mob19642_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19642_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19642_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19642, 1, 'mob19642_Action')
RegisterUnitEvent(19642, 2, 'mob19642_Leave')
RegisterUnitEvent(19642, 3, 'mob19642_Kill')
RegisterUnitEvent(19642, 4, 'mob19642_Die')
